Deriving Parallel Codes via Invariants
نویسندگان
چکیده
Systematic parallelization of sequential programs remains a major challenge in parallel computing Traditional approaches using pro gram schemes tend to be narrower in scope as the properties which en able parallelism are di cult to capture via ad hoc schemes In CTH a systematic approach to parallelization based on the notion of preserv ing the context of recursive sub terms has been proposed This approach can be used to derive a class of divide and conquer algorithms In this paper we enhance the methodology by using invariants to guide the parallelization process The enhancement enables the parallelization of a class of recursive functions with conditional and tupled constructs which were not possible previously We further show how such invariants can be discovered and veri ed systematically and demonstrate the power of our methodology by deriving a parallel code for maximum segment product To the best of our knowledge this is the rst systematic parallelization for the maximum segment product problem
منابع مشابه
Genealogical method of urban typo-morphology with the aim of deriving pattern for providing form-based codes
Introduction: The emergence of form-based codes (FBCs), along with the familiar and near-universal rejection of conventional zoning, is a complex story, and more interesting than might first be supposed. The Codes Study generally does not track developer-driven form-based codes. The socio-economic context of form-based codes has shown positive FBC impacts on physical and environmental well-bein...
متن کاملParallelization of Graph Isomorphism using OpenMP
Advancement in computer architecture leads to parallelize the sequential algorithm to exploit the concurrency provided by multiple core on single chip. Sequential programs do not gain performance from multicore. For multicore architectures, OPENMP and MPI are application programming interfaces. They can be used for parallelization of codes. For shared memory architecture OPENMP is used, whereas...
متن کاملTopology of Real and Angle Valued Maps and Graph Representations
Using graph representations a new class of computable topological invariants associated with a tame real or angle valued map were recently introduced, providing a theory which can be viewed as an alternative to MorseNovicov theory for real or angle valued Morse maps. The invariants are ”barcodes” and ”Jordan cells”. From them one can derive all familiar topological invariants which can be deriv...
متن کاملAutomatically Deriving Symbolic Invariants for PLC Programs Written in IL
In this paper, we propose a new approach to automatically derive invariants from Programmable Logic Controller programs by symbolically rewriting Instruction List code. These invariants describe the relations between all variables and capture the behavior of the program. Usually, invariants are created by users and verified using formal verification techniques such as model checking or static a...
متن کاملJacobi identities in low-dimensional topology
The Jacobi identity is the key relation in the definition of a Lie algebra. In the last decade, it also appeared at the heart of the theory of finite type invariants of knots, links and 3-manifolds (and is there called the IHX-relation). In addition, this relation was recently found to arise naturally in a theory of embedding obstructions for 2-spheres in 4-manifolds [20]. We expose the underly...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000